--使用方法：直接粘贴到模组环境 玩家.ifpickmult = 10 就是10倍采集

local Pickable = require "components/pickable"

local _Pick = Pickable.Pick
function Pickable:Pick(picker, ...)
    if not picker or self.inst:HasTag("gemsocket") then 
        return _Pick(self, picker, ...)
    end
    local o = self.numtoharvest
    self.numtoharvest = (picker.ifpickmult or 1) * self.numtoharvest
    local a, b, c = _Pick(self, picker, ...)
    self.numtoharvest = o
    return a, b, c  
end